package com.woniu.user.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 工作人员表对象 doctor
 * 
 * @author wolf-six
 * @date 2023-02-15
 */
public class Doctor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long doctorId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String doctorName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String dickerSex;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String dokerIdcard;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String doctorTel;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String doctorAdd;

    /** $column.columnComment */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT-8")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date doctorEntrytime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String doctorNumber;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String doctorPassword;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long roleId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String roleName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String deptName;

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long deptId;

    public void setDoctorId(Long doctorId) 
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId() 
    {
        return doctorId;
    }
    public void setDoctorName(String doctorName) 
    {
        this.doctorName = doctorName;
    }

    public String getDoctorName() 
    {
        return doctorName;
    }
    public void setDickerSex(String dickerSex) 
    {
        this.dickerSex = dickerSex;
    }

    public String getDickerSex() 
    {
        return dickerSex;
    }
    public void setDokerIdcard(String dokerIdcard) 
    {
        this.dokerIdcard = dokerIdcard;
    }

    public String getDokerIdcard() 
    {
        return dokerIdcard;
    }
    public void setDoctorTel(String doctorTel) 
    {
        this.doctorTel = doctorTel;
    }

    public String getDoctorTel() 
    {
        return doctorTel;
    }
    public void setDoctorAdd(String doctorAdd) 
    {
        this.doctorAdd = doctorAdd;
    }

    public String getDoctorAdd() 
    {
        return doctorAdd;
    }
    public void setDoctorEntrytime(Date doctorEntrytime) 
    {
        this.doctorEntrytime = doctorEntrytime;
    }

    public Date getDoctorEntrytime() 
    {
        return doctorEntrytime;
    }
    public void setDoctorNumber(String doctorNumber) 
    {
        this.doctorNumber = doctorNumber;
    }

    public String getDoctorNumber() 
    {
        return doctorNumber;
    }
    public void setDoctorPassword(String doctorPassword) 
    {
        this.doctorPassword = doctorPassword;
    }

    public String getDoctorPassword() 
    {
        return doctorPassword;
    }
    public void setRoleId(Long roleId) 
    {
        this.roleId = roleId;
    }

    public Long getRoleId() 
    {
        return roleId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("doctorId", getDoctorId())
            .append("doctorName", getDoctorName())
            .append("dickerSex", getDickerSex())
            .append("dokerIdcard", getDokerIdcard())
            .append("doctorTel", getDoctorTel())
            .append("doctorAdd", getDoctorAdd())
            .append("doctorEntrytime", getDoctorEntrytime())
            .append("doctorNumber", getDoctorNumber())
            .append("doctorPassword", getDoctorPassword())
            .append("roleId", getRoleId())
            .append("deptId", getDeptId())
                .append("deptName",getDeptName())
                .append("roleName",getRoleName())
            .toString();
    }


}
